<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>列表</title>
</head>
    <base href="<?php echo base_url().'views/style/'; ?>" />
    <link href="./css/media.css" rel="stylesheet">
    <script src="./js/jquery-1.8.2.min.js"></script>
    <script src="./js/myconfirm.js"></script>
    <script src="./js/media.js"></script>
    <script src="./js/validate.js"></script>
    <style>
     table.table1 tr th{
     	text-align: center;
     }
    </style>
<body>
	<div class="wrap">
	   <div class="menu_list">
	    <ul>
		  <li><a href="javascript:void(0);" class='action'> 信息列表 </a></li>
		  <li><a href="<?php echo site_url('regisiter/reg_add')."/?ace =".rand(10,10000000); ?>"> 新增 </a></li>
		</ul> 
		<div class='hd-form' style='margin-left:800px'>
			<form action="<?php echo site_url('regisiter/index');?> " method="get" accept-charset="utf-8">
				姓名：<input type='text' name='sname'>
				学号：<input type='text' name='snum'>
				<input class='btn1' type='submit' value='查找'>	
			</form>
		</div>
	   </div>
	    <p style='margin-bottom:10px'><a href="<?php echo site_url('TableExport/index/regisiter')."/?ace =".rand(10,10000000); ?>"> 下载 </a></p>
	   	<table class="table2 hd-form form-inline">
	   	<thead>
	   	  <tr>
	   	    <td class='w50'>ID</td>
	   		<td class=''>姓名</td>
	   		<td class='w150'>学号</td>
	   		<td class='w200'>操作</td>
	   	 </tr>	   		
	   	</thead>
        <tbody>
        <?php foreach($regis as $k=>$v): ?>
         <tr>
	   		<td><?php echo $k+1;?></td>
	   	    <td><?php echo $v['re_name'];?></td>
       	    <td><?php echo $v['re_number'];?></td>
	   		<td>
	   		    <a class='btn1' href="<?php echo site_url('regisiter/reg_edit/'.$v['re_number'])."/?ace =".rand(10,10000000);?>">查看</a>
	   		</td>        	
         </tr>
         <?php  endforeach;?>
         </tbody>
	   </table>
	   <div>
	   	<?php echo $links ?>
	   </div>
	
	</div>
</body>
</html>